{%extends 'layout.html'%}
{%block body%}
	<form action='/create' method='post'>
		{{csrf_token()}}
		{%for i in range(question_number)%}
			<div>
				<p>
					问题{{i}}
					<input type='text' name='question{{i}}'/>
				</p>
				{%for j in range(option_number)%}
					<p>
						选项{{j}}
						<input type='text' name='option{{i}}_{{j}}'/>
						<input type='radio' name='option{{i}}_check' id='option{{i}}_check' value='{{j}}'/>
					</p>
				{%endfor%}
			</div>
			<hr/>
		{%endfor%}
		<input type='submit' value='confirm'/>
	</form>
{%endblock%}
